create or replace trigger BASE_DICTITEMS_TRI
  before insert on base_dictitems  
  for each row
declare
  -- local variables here
begin
  SELECT BASE_DICTITEMS_SEQ.NEXTVAL INTO :new.dictitem_id FROM sys.DUAL;
end BASE_DICTITEMS_TRI;
